package com.sjtu.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * nerine
 * 1/28/2020
 */
public class AuthenticationConstants {
    /**
     * 角色权限不重叠，由上至下的权限越来越小，为上级包含下级的关系
     */
    @Getter
    @AllArgsConstructor
    public enum RoleType {
        ADMIN("ADMIN", "管理员"),
        OPERATOR("OPERATOR", "操作员"),
        VISITOR("VISITOR", "访问者");

        private String value;
        private String desc;
    }
}
